package com.cmrx.model.dao;

import com.cmrx.model.entity.AnalysisResult;
import com.cmrx.model.entity.AnalysisSuggestion;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Mapper
@Repository
public interface OpSceneAnalysisDao {

    int addOpAnalysisResult(AnalysisResult analysisResult);

    int updateOpAnalysisResult(AnalysisResult analysisResult);

    int addOpAnalysis(AnalysisSuggestion analysisSuggestion);

    int updateOpAnalysis(AnalysisSuggestion analysisSuggestion);

    int addOpAnalysisByMap(Map<String, Object> map);

}
